namespace BootBlazor.Servers.Chat;

public record ChatMessageSendModel
{
    /// <summary>
    /// 频道（指定频道发送时）
    /// </summary>
    public int? ChannelId { get; set; }

    /// <summary>
    /// 接收人（指定人发送时）
    /// </summary>
    public int? ReceiverId { get; set; }

    /// <summary>
    /// 发送人
    /// </summary>
    public int SenderId { get; set; }

    /// <summary>
    /// 发送内容
    /// </summary>
    public string? Content { get; set; }

    /// <summary>
    /// 消息类型
    /// </summary>
    public int MessageType { get; set; }

}
